package com.ruoyi.project.purchase.mapper;

import java.util.List;
import com.ruoyi.project.purchase.domain.RyPurchaseOut;

/**
 * 采购出库Mapper接口
 * 
 * @author you
 * @date 2022-09-26
 */
public interface RyPurchaseOutMapper 
{
    /**
     * 查询采购出库
     * 
     * @param id 采购出库主键
     * @return 采购出库
     */
    public RyPurchaseOut selectRyPurchaseOutById(Long id);

    /**
     * 查询采购出库列表
     * 
     * @param ryPurchaseOut 采购出库
     * @return 采购出库集合
     */
    public List<RyPurchaseOut> selectRyPurchaseOutList(RyPurchaseOut ryPurchaseOut);

    /**
     * 新增采购出库
     * 
     * @param ryPurchaseOut 采购出库
     * @return 结果
     */
    public int insertRyPurchaseOut(RyPurchaseOut ryPurchaseOut);

    /**
     * 修改采购出库
     * 
     * @param ryPurchaseOut 采购出库
     * @return 结果
     */
    public int updateRyPurchaseOut(RyPurchaseOut ryPurchaseOut);

    /**
     * 删除采购出库
     * 
     * @param id 采购出库主键
     * @return 结果
     */
    public int deleteRyPurchaseOutById(Long id);

    /**
     * 批量删除采购出库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRyPurchaseOutByIds(Long[] ids);
}
